package qc.module.weixin.miniapp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * WxMaApplication
 *
 * @author QuCheng Tech
 * @create 2023/2/10
 */
@SpringBootApplication
@ComponentScan({"cn.binarywang.wx.miniapp.api"})//不扫描service在controller中找不到对应的service
@ComponentScan({"qc.module.weixin.miniapp.controller"})//不扫描controller从gateway找不到对应的微服务
//@MapperScan("qc.module.platform.repository")//不扫描repository在service中找不到对应的repository
public class WxMaApplication {
    public static void main(String[] args) {
        SpringApplication.run(WxMaApplication.class, args);
    }
}
